echo off
REM *********** script to build the installation *************************
REM *********** using Inno Setup from http://www.innosetup.com

REM ****** remove unnecessary stuff from the source directories
cd ..\Source
del Debug  /s /Q /F
del Release /s /Q /F

msdev 8085.dsp /MAKE "8085 - Win32 Release" /REBUILD
del Release /s /Q /F
del 8085.ncb
del 8085.opt
del 8085.plg
cd ..\Installation

"C:\Program Files\Inno Setup 2\Compil32.exe" /cc inno_setup.iss
echo *********************************************************
echo 		Build Complete
echo *********************************************************
